package com.daxt.model.dto;

import com.daxt.mapper.sys.ProcessDetailsMapper;
import com.daxt.model.service.base.vo.ProcessDetails;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "借阅DTO", description = "借阅DTO")
public class BorrowDto implements Serializable{
	
	
	private static final long serialVersionUID = 1L;


	private Long id;

	@ApiModelProperty(value = "全宗ID", name = "fondsId")
	private String fondsId;

	@ApiModelProperty(value = "门类号", name = "typeNum")
	private String typeNum;

	@ApiModelProperty(value = "分类", name = "classNum")
	private String classNum;

	@ApiModelProperty(value = "fileId", name = "fileId")
	private Long fileId;

	@ApiModelProperty(value = "题名", name = "title")
	private String title;

	@ApiModelProperty(value = "借阅目的", name = "reason")
	private String reason;

	@ApiModelProperty(value = "借阅描述", name = "describes")
	private String describes;

	@ApiModelProperty(value = "权限（0 查阅、1下载 ）", name = "authType")
	private String authType;

	@ApiModelProperty(value = "开始时间", name = "startTime")
	private String startTime;

	@ApiModelProperty(value = "结束时间", name = "endTime")
	private String endTime;

	@ApiModelProperty(value = "借阅天数", name = "bDays")
	private String bDays;

	@ApiModelProperty(value = "借阅状态（0待审批、1已拒绝、2借阅中、3已归还", name = "state")
	private String state;

	@ApiModelProperty(value = "申请人", name = "createBy")
	private String createBy;

	@ApiModelProperty(value = "userId", name = "userId")
	private Long userId;

	@ApiModelProperty(value = "申请时间", name = "createTime")
	private String createTime;

	@ApiModelProperty(value = "审批人", name = "updateBy")
	private String updateBy;

	@ApiModelProperty(value = "审批时间", name = "updateTime")
	private String updateTime;

	@ApiModelProperty(value = "流程步骤ID", name = "processId")
	private String processId;


	@ApiModelProperty(value = "档案信息", name = "baseDocDto")
	private BaseDocDto baseDocDto;

	@ApiModelProperty(value = "流程详情", name = "processDetails")
	private List<ProcessDetails> processDetails;



	@ApiModelProperty("任务id")
	private String taskId;

	@ApiModelProperty("任务名")
	private String taskName;

	@ApiModelProperty("流程实例id")
	private String processinstanceId;

	@ApiModelProperty("流程定义id")
	private String processdefId;

	@ApiModelProperty("任务创建时间")
	private Date taskCreateTime;

	@ApiModelProperty("审批意见")
	private String opinion;

	@ApiModelProperty("部门名称")
	private String deptName;

	@ApiModelProperty("流程节点")
	private String flowNode;

	@ApiModelProperty("审批人")
	private String approver;

	
}
